import React from "react"

/** 1. 类组件 */
class Welcome extends React.Component {
    render() {
        return (
            <h2>Welcome, { this.props.name } </h2>
        )
    }
}

export default Welcome